package com.blog.admin.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.blog.admin.entity.Article;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface ArticleMapper extends BaseMapper<Article> {

    List<Article> selectById(long id);

    void deleteByUserId(long authorId);

}
